home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 582 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: in1.uu.net!utcsri!utgpu!utinfo!news
  3. From: Norman Baccari <normb@gpu.utcc.utoronto.ca>
  4. Subject: Window BackFill-Resize Hook ??
  5. X-Nntp-Posting-Host: control3.utcc.utoronto.ca
  6. Content-Type: text/plain; charset=us-ascii
  7. Message-ID: <DKwzsK.6G4@utcc.utoronto.ca>
  8. Sender: news@utcc.utoronto.ca (News)
  9. Content-Transfer-Encoding: 7bit
  10. Organization: UTCC Campus Access
  11. Mime-Version: 1.0
  12. Date: Tue, 9 Jan 1996 12:53:07 GMT
  13. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  14.  
  15.  
  16. I wonder if anyone can comment on the following idea I had
  17. and see if there would be any flaws in actually doing this.
  18. Given 2 situations where A) we use a WA_Backfill hook for a 
  19. window and B) we have a resizeable window where the gadget
  20. positioning would need to be adjusted on an IDCMP NewSize,
  21. would it not be possible to combine the two. For example
  22. using the BackFill hook function, first remove the gadgets,
  23. do the backfill render (no need to clear old gadget images),
  24. calculate the new gadget positions and then build and refresh
  25. gadgets. Seems like this would be a more efficient way to
  26. have resizing. No need to listen for NewSize messages. What
  27. problems might I encounter in doing something like, if it could
  28. be done that is.
  29.  
  30. Thanks 
  31.  
  32. Norm.
  33.  
  34.  
  35. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  36. Norman Baccari   normb@gpu.utcc.utoronto.ca    Toronto,Ontario Canada
  37. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  38.  
  39.  
  40.